* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* 设置滚动条的样式 */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}


/* 滚动槽 */

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}


/* 滚动条滑块 */

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #bbb;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.25);
}


/* 非激活窗口 */

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0, 255, 0, 0.4);
}

body {
    font-family: "微软雅黑", "Times New Roman", Times, serif;
    font-size: 16px;
    background-color: #f7fbff;
}



header {
    position: sticky;
    top: 0;
    height: 80px;
    line-height: 80px;
    background-color: white;
    box-shadow: 0 0 6px rgb(192 192 192);
    box-sizing: border-box;
    min-width: 1200px;
}
header .main {
    width: 1200px;
    margin: 0 auto;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.logo {
    float: left;
    background: url('../img/logo.svg') no-repeat center;
    height: 80px;
    min-width: 260px;
}

.nav {
    width: 100%;
    height: 80px;
    padding-left: 290px;
    position: relative;
}

.nav .login {
    position: absolute;
    top: 0;
    right: 20px;
}

.nav .login span {
    font-size: 16px;
    padding: 0 0 5px 0;
}

.nav .login span:hover {
    cursor: pointer;
    color: rgb(75, 140, 229);
    border-bottom: 1px solid rgb(75, 140, 229);
}

.nav ul {
    display: table;
}

.nav li {
    position: relative;
    box-sizing: border-box;
    font-size: 18px;
    list-style: none;
    display: inline-block;
    height: 80px;
    width: 100px;
    text-align: center;
    padding: 0;
    cursor: pointer;
}

.nav li::before {
    position: absolute;
    content: '';
    height: 80px;
    width: 100px;
    bottom: 0;
    left: 0;
    transition: all 0.15s cubic-bezier(0.75, 0.5, 0.5, 1) 0s;
    transform: scaleX(0);
    transform-origin: center;
    border-bottom: 2px solid #3b93fe;
}

.nav li:not(.active):hover::before {
    transform: scaleX(1);
}

@keyframes slide-in-out {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.nav li.active {
    transition: slide-in-out 1s ease-in 0s;
    /*background-image: linear-gradient( 135deg, #3C8CE7 10%, #00EAFF 100%); */
    background-image: linear-gradient(#5fb8ff, #3b93fe);
    /* background-image: linear-gradient( 125deg, #ABDCFF 20%, #0396FF 100%); */
    color: white;
    border-radius: 1px;
}

.nav li:hover:not(.active) {
    color: rgb(75, 140, 229);
}